package define.Demo_01;

public class MethodDemo1 {
    public static void main(String[] args) {
        int a = sum(10, 20);
        System.out.println("Sum of 10 and 20 is: " + a);
    }
    public static int sum(int a, int b) {
        return a + b;

    }
}
